<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\Order
 *
 * @property int $id
 * @property string|null $order_sn 订单号
 * @property int|null $user_id 用户id
 * @property int $order_status 订单状态 0，未确认；1，已确认；2，已取消；3，无效；4，退货；
 * @property int $shipping_status 订单派送状态 0，未发货；1，已发货；2，已收货；3，备货中
 * @property int $pay_status 支付状态；0，未付款；1，付款中；2，已付款
 * @property string|null $consignee 收货人的姓名，用户页面填写，默认取值于表user_address
 * @property string|null $country 收货人的国家，用户页面填写，默认取值于表user_address
 * @property string|null $province 收货人的省份，用户页面填写，默认取值于表user_address
 * @property string|null $city 收货人的城市，用户页面填写，默认取值于表user_address
 * @property string|null $district 收货人的地区，用户页面填写，默认取值于表user_address
 * @property string|null $address 收货人的详细地址，用户页面填写
 * @property string|null $zipcode 收货人的邮编，用户页面填写
 * @property string|null $mobile 收货人的手机
 * @property string|null $remark 备注信息
 * @property int $coupon_id 优惠券id
 * @property int $pay_id 支付方式id
 * @property string|null $pay_name 支付方式名称
 * @property float $pay_fee 订单金额
 * @property float $discount 优惠金额
 * @property float $money_paid 支付金额
 * @property int|null $add_time 订单新增时间
 * @property int|null $pay_time 订单支付时间
 * @property int|null $shipping_time 订单配送时间
 * @property int|null $finish_time 订单完成时间
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereAddTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereCity($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereConsignee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereCountry($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereCouponId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereDiscount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereDistrict($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereFinishTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereMobile($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereMoneyPaid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereOrderSn($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereOrderStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order wherePayFee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order wherePayId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order wherePayName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order wherePayStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order wherePayTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereProvince($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereShippingStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereShippingTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Order whereZipcode($value)
 * @mixin \Eloquent
 */
class Order extends Model
{
    protected $guarded=[];

    public $timestamps=false;
}
